import React from "react";
import ReactDOM from "react-dom";
import { HashRouter, Switch, Route } from "react-router-dom";
import { Provider } from "react-redux";

import store from "./redux/store";

import Main from "./containers/main";



ReactDOM.render(
  <Provider store={store}>
    <HashRouter>
      <Switch>
        <Route component={Main}></Route> 默认路由
      </Switch>
    </HashRouter>
  </Provider>,
  document.getElementById("root")
);
